package com.ych.modules.base.service;

import com.baomidou.mybatisplus.service.IService;
import com.ych.modules.base.dbEntity.TUserInfoEntity;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/5
 * Time: 15:09
 * Description:
 */
public interface ITUserInfoService extends IService<TUserInfoEntity> {
    TUserInfoEntity queryByUserId(String userId);

    void save(TUserInfoEntity user);

    /**
     * 查询用户的所有菜单ID
     */
    List<String> queryAllMenuId(String createUserId);

    void rewardRaffleTicket(String userId);

    /**
     * 修改用户
     */
    void update(TUserInfoEntity tUserInfo);

    void validatePayPassword(String userId, String password);
}
